package com.wr.common.core.constants;

/**
 * 权限相关通用常量
 *
 * @author wr
 */
public class SecurityConstants {

    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "user_id";

    /**
     * 账号字段
     */
    public static final String DETAILS_AK = "ak";

    /**
     * 空间url
     */
    public static final String DETAILS_SPACE_URL = "space_url";


    /**
     * 授权信息字段
     */
    public static final String AUTHORIZATION_HEADER = "Authorization";

    /**
     * 请求来源
     */
    public static final String FROM_SOURCE = "from-source";

    /**
     * 登录用户
     */
    public static final String LOGIN_USER = "login_user";

    /**
     * 角色权限
     */
    public static final String ROLE_PERMISSION = "role_permission";
}
